print isinstance(1, int)
print isinstance(1, float)
print isinstance({}, dict)
print isinstance([], dict)

class myClass:
    pass

test = myClass()

print isinstance(test, myClass)
